package com.ruoyi.project.base.userInfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户信息对象 web_user_info
 * 
 * @author ruoyi
 * @date 2021-01-23
 */
public class UserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long userId;

    /** 账号 */
    @Excel(name = "账号")
    private String accountName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;
    private String userImg;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardNo;

    /** 所属系统 */
    @Excel(name = "所属系统")
    private Long sysId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private Long unitId;

    /** 岗位 */
    @Excel(name = "岗位")
    private String postId;

    /** 工号 */
    @Excel(name = "工号")
    private String workNo;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 状态 */
    @Excel(name = "状态")
    private String status;
    private String sysName;
    private String postName;
    /*学习时长*/
    private Integer learnDuration;
    /*教育类型*/
    private String eduLevel;

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public Integer getLearnDuration() {
        return learnDuration;
    }

    public void setLearnDuration(Integer learnDuration) {
        this.learnDuration = learnDuration;
    }

    public String getEduLevel() {
        return eduLevel;
    }

    public void setEduLevel(String eduLevel) {
        this.eduLevel = eduLevel;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCardNo(String cardNo)
    {
        this.cardNo = cardNo;
    }

    public String getCardNo()
    {
        return cardNo;
    }
    public void setSysId(Long sysId)
    {
        this.sysId = sysId;
    }

    public Long getSysId()
    {
        return sysId;
    }
    public void setUnitId(Long unitId)
    {
        this.unitId = unitId;
    }

    public Long getUnitId()
    {
        return unitId;
    }
    public void setPostId(String postId)
    {
        this.postId = postId;
    }

    public String getPostId()
    {
        return postId;
    }
    public void setWorkNo(String workNo)
    {
        this.workNo = workNo;
    }

    public String getWorkNo()
    {
        return workNo;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setAge(Long age)
    {
        this.age = age;
    }

    public Long getAge()
    {
        return age;
    }
    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public Date getBirthday()
    {
        return birthday;
    }
    public void setEducation(String education)
    {
        this.education = education;
    }

    public String getEducation()
    {
        return education;
    }
    public void setNation(String nation)
    {
        this.nation = nation;
    }

    public String getNation()
    {
        return nation;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("accountName", getAccountName())
            .append("password", getPassword())
            .append("phone", getPhone())
            .append("cardNo", getCardNo())
            .append("sysId", getSysId())
            .append("unitId", getUnitId())
            .append("postId", getPostId())
            .append("workNo", getWorkNo())
            .append("sex", getSex())
            .append("age", getAge())
            .append("birthday", getBirthday())
            .append("education", getEducation())
            .append("nation", getNation())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
